package com.saicmotor.springboot_demo.service;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.MethodArgumentNotValidException;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.bind.annotation.RestControllerAdvice;

import javax.validation.ConstraintViolationException;

public interface ExceptionService {
    /*String handleMethodArgumentNotValidException(MethodArgumentNotValidException e);
    String handleConstraintViolationException(ConstraintViolationException e);*/
}
